package com.zbkj.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zbkj.common.model.admin.SystemAdmin;
import com.zbkj.common.model.bill.MerchantMonthStatement;
import com.zbkj.common.request.PageParamRequest;

import java.util.List;

/**
 * MerchantMonthStatementService 接口
 */
public interface MerchantMonthStatementService extends IService<MerchantMonthStatement> {

    /**
     * 获取某个月的所有帐单
     *
     * @param month 月份：年-月
     * @return List
     */
    List<MerchantMonthStatement> findByMonth(String month);
    List<MerchantMonthStatement> findByMonthMultiBrand(String month, List<Integer> merIdList);

    /**
     * 分页列表
     *
     * @param dateLimit        时间参数
     * @param pageParamRequest 分页参数
     * @return PageInfo
     */
    PageInfo<MerchantMonthStatement> getPageList(String dateLimit, PageParamRequest pageParamRequest, SystemAdmin systemAdmin);
}
